package com.lwy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwy.entity.BookUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.awt.print.Book;
import java.util.List;

//用户表dao接口
@Mapper
public interface BookUserMapper extends BaseMapper<BookUser> {

    //查询用户
    public BookUser selectAll(String username);

    //根据用户名查询
    public List<BookUser> selectByUserName(@Param("username")String username);

}
